package com.isdepci.project.carbon.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.isdepci.project.carbon.mapper.CcerDataListMapper;
import com.isdepci.project.carbon.domain.CcerDataList;
import com.isdepci.project.carbon.service.ICcerDataListService;

/**
 * CCER减排交易数据Service业务层处理
 *
 * @author isdepci
 * @date 2025-05-28
 */
@Service
public class CcerDataListServiceImpl implements ICcerDataListService
{
    @Autowired
    private CcerDataListMapper ccerDataListMapper;

    /**
     * 查询CCER减排交易数据
     */
    @Override
    public CcerDataList selectCcerDataListById(Long id)
    {
        return ccerDataListMapper.selectCcerDataListById(id);
    }

    /**
     * 查询CCER减排交易数据列表
     */
    @Override
    public List<CcerDataList> selectCcerDataListList(CcerDataList ccerDataList)
    {
        return ccerDataListMapper.selectCcerDataListList(ccerDataList);
    }

    /**
     * 新增CCER减排交易数据
     */
    @Override
    public int insertCcerDataList(CcerDataList ccerDataList)
    {
        return ccerDataListMapper.insertCcerDataList(ccerDataList);
    }

    /**
     * 修改CCER减排交易数据
     */
    @Override
    public int updateCcerDataList(CcerDataList ccerDataList)
    {
        return ccerDataListMapper.updateCcerDataList(ccerDataList);
    }

    /**
     * 批量删除CCER减排交易数据
     */
    @Override
    public int deleteCcerDataListByIds(Long[] ids)
    {
        return ccerDataListMapper.deleteCcerDataListByIds(ids);
    }

    /**
     * 删除CCER减排交易数据信息
     */
    @Override
    public int deleteCcerDataListById(Long id)
    {
        return ccerDataListMapper.deleteCcerDataListById(id);
    }
}
